﻿CREATE TABLE [dbo].[core_roleprivilege] (
    [RoleId]       UNIQUEIDENTIFIER NOT NULL,
    [PrivilegeId]  UNIQUEIDENTIFIER NOT NULL,
    [SourceRoleId] UNIQUEIDENTIFIER NOT NULL,
    [Type]         NVARCHAR (MAX)   NULL,
    CONSTRAINT [PK_dbo.core_roleprivilege] PRIMARY KEY NONCLUSTERED ([RoleId] ASC, [PrivilegeId] ASC, [SourceRoleId] ASC)
);

